package org.szgb.console.sys.line.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.szgb.console.sys.line.entity.SysLineLocationSystemEquipment;

import java.util.List;

@Mapper
@Repository
public interface SysLineLocationSystemEquipmentMapper {
    SysLineLocationSystemEquipment get(String id);

    List<SysLineLocationSystemEquipment> findList(SysLineLocationSystemEquipment entity);

    Integer getCount(SysLineLocationSystemEquipment entity);

    void insert(SysLineLocationSystemEquipment entity);

    void update(SysLineLocationSystemEquipment entity);

    void delete(String[] ids);

    List<SysLineLocationSystemEquipment> findByEquipmentIdArrayWithLocationId(@Param("LocationId") String LocationId, @Param("ids") String[] ids);

    List<SysLineLocationSystemEquipment> getByLocationSystemIdArray(String[] ids);
}
